﻿//
// Created: 2018/8/14
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.Admin
{
    public class  AdminUserRole:IEntity
    {
    
       ///<summary>
       ///
       ///<summary>
       public string ID  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public int UserID  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public int RoleID  { get; set; } 
         
    
       [NotMapped]
        public long Id { get; set; }

        [NotMapped]
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}